import {createStore} from 'vuex'

export default createStore({
  state:{
    loginVisible:false,
    isLogin:false,
    userName:"",
  },
  mutations:{
    loginOpen(){
      this.loginVisible = true;
      console.log(this.loginVisible);
    },
    loginClose(){
      this.loginVisible = false;
      console.log(this.loginVisible)
    }
  }
})
